.daily-learning-panel {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.daily-learning-empty,
.daily-learning-loading {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.daily-learning-empty p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.daily-learning-empty .hint {
  font-size: 0.9rem;
  color: #999;
}

.daily-learning-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f0f0f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.daily-header {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.daily-progress {
  flex: 1;
}

.daily-progress span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.daily-date {
  font-size: 1rem;
  color: #667eea;
  font-weight: 600;
}

.question-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.question-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
}

.question-category,
.question-difficulty {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.question-category {
  background: #e3f2fd;
  color: #1976d2;
}

.question-difficulty {
  background: #fff3e0;
  color: #f57c00;
}

.question-content {
  margin-bottom: 2rem;
}

.question-content h3 {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.question-type-hint {
  padding: 0.75rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  border-left: 4px solid #667eea;
  border-radius: 8px;
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.option-button {
  padding: 1rem 1.5rem;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: #333;
}

.option-button:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.option-button.selected {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-weight: 600;
}

.answer-actions {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #666;
}

.checkbox-label input[type='checkbox'] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.notes-section {
  margin-top: 1rem;
}

.notes-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.notes-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.notes-input:focus {
  outline: none;
  border-color: #667eea;
}

.question-actions {
  display: flex;
  justify-content: flex-end;
}

.submit-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.result-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.result-card.correct {
  border-left: 5px solid #4caf50;
}

.result-card.incorrect {
  border-left: 5px solid #f44336;
}

.result-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.result-card.correct .result-header h3 {
  color: #4caf50;
}

.result-card.incorrect .result-header h3 {
  color: #f44336;
}

.answer-comparison {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
}

.answer-comparison div {
  margin-bottom: 0.5rem;
}

.error-analysis {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #fff3cd;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.error-analysis h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.analysis-item {
  margin-bottom: 1rem;
}

.analysis-item strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.analysis-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
  padding-left: 1rem;
}

.knowledge-points {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: #ffebee;
  border-radius: 8px;
  border-left: 4px solid #f44336;
}

.knowledge-points h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.points-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.knowledge-tag {
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #f44336;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #c62828;
  font-weight: 600;
}

.detailed-analysis {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border-radius: 12px;
  border-left: 4px solid #4caf50;
}

.detailed-analysis h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 600;
}

.analysis-content {
  color: #333;
  line-height: 1.8;
}

.analysis-content pre {
  margin: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.analysis-text {
  margin-bottom: 1rem;
}

.thinking-approach,
.correct-explanation,
.error-explanation {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border-left: 3px solid #667eea;
}

.thinking-approach strong,
.correct-explanation strong,
.error-explanation strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1rem;
}

.thinking-approach p,
.correct-explanation p,
.error-explanation p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}

.thinking-analysis {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.thinking-analysis h4 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.thinking-score {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.score-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.score-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.thinking-strengths,
.thinking-weaknesses {
  margin: 1rem 0;
  padding: 1rem;
  background: white;
  border-radius: 8px;
}

.thinking-strengths {
  border-left: 4px solid #4caf50;
}

.thinking-weaknesses {
  border-left: 4px solid #ff9800;
}

.thinking-strengths strong,
.thinking-weaknesses strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.thinking-strengths ul,
.thinking-weaknesses ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thinking-strengths li,
.thinking-weaknesses li {
  padding: 0.25rem 0;
  color: #666;
  line-height: 1.6;
}

.thinking-pattern,
.reasoning-chain {
  margin: 1rem 0;
  padding: 1rem;
  background: white;
  border-radius: 8px;
}

.thinking-pattern strong,
.reasoning-chain strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.thinking-pattern p,
.reasoning-chain p {
  color: #666;
  line-height: 1.8;
  margin: 0;
}

.thinking-suggestions {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff3cd;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.thinking-suggestions strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.thinking-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.thinking-suggestions li {
  padding: 0.5rem 0;
  color: #666;
  line-height: 1.6;
}

.recommendations {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f0f0f0;
}

.recommendations h4 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1rem;
}

.recommendations ul {
  list-style: none;
  padding: 0;
}

.recommendations li {
  padding: 0.5rem 0;
  color: #666;
  line-height: 1.6;
}

.recommendations li::before {
  content: '💡 ';
  margin-right: 0.5rem;
}

.result-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.debate-button {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.debate-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* 辩论模态框 */
.debate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 2rem;
}

.debate-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.debate-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.debate-modal-header h2 {
  margin: 0;
  color: #667eea;
  font-size: 1.5rem;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: #333;
}

.debate-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}
  border-top: 2px solid #f0f0f0;
}

.nav-button {
  padding: 0.75rem 2rem;
  border: 2px solid #667eea;
  background: white;
  color: #667eea;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-button:hover:not(:disabled) {
  background: #667eea;
  color: white;
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.nav-button.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.nav-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
  .daily-header {
    flex-direction: column;
    gap: 1rem;
  }

  .daily-progress {
    width: 100%;
  }

  .result-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}

